package com.powernode.bank.service;

import com.powernode.bank.pojo.Account;

import java.util.List;

public interface AccountService {
    int save(Account account);

    int deletedByAccno(String accno);

    int modify(Account account);

    Account selectByAccno(String accno);

    List<Account> selectAll();

    void transfer(String fromAccno, String toAccno, double amount);
}
